﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2007 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器自动创建于 2007-9-14 21:32:46
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;

namespace FastKnow.Model
{
    /// <summary>
    /// 实体类 ArticleInfo
    /// </summary>
    public class ArticleInfo
    {
        public ArticleInfo()
        { }
        #region Model
        private int _articleid;
        private string _title;
        private int _authorid;
        private int _categoryid;
        private DateTime _addtime;
        private int _views;
        private int _hasattachment;
        private int _state;
        /// <summary>
        /// 文章id
        /// </summary>
        public int ArticleID
        {
            set { _articleid = value; }
            get { return _articleid; }
        }
        /// <summary>
        /// 文章标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 作者的id
        /// </summary>
        public int AuthorID
        {
            set { _authorid = value; }
            get { return _authorid; }
        }
        /// <summary>
        /// 文章所属分类ID
        /// </summary>
        public int CategoryID
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 文章发表时间
        /// </summary>
        public DateTime AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 文章查看数
        /// </summary>
        public int Views
        {
            set { _views = value; }
            get { return _views; }
        }
        /// <summary>
        /// 是否包含附件
        /// </summary>
        public int HasAttachment
        {
            set { _hasattachment = value; }
            get { return _hasattachment; }
        }
        /// <summary>
        /// 文章状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        #endregion Model
    }
}
